package cate.game.role.show.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBBlog;
import cate.game.role.Role;
import easy.java.dev.note.NoteField;


@ClientMsg(title = "修改性别的 の 返回")
public class ModifySexResp implements MsgOutput {

    @NoteField("性别")
    public int sex;

    public ModifySexResp() {
    }

    public ModifySexResp(Role role) {
        this.sex = role.getBase().sex;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBBlog.MODIFY_SEX_RESP;
    }
}
